package com.huawei.crm.util;

import lombok.*;

@Setter
@Getter
public class JsonResult {

    private boolean success = true;
    private String errorMsg;

    // 当封装错误信息的时候使用
    public void mark(String errorMsg){
        this.success = false;
        this.errorMsg = errorMsg;
    }

}
